import requests


class IhrmLoginApi:
    @staticmethod
    def login_api(req_data):
        return requests.post("http://localhost:8080/api/sys/login", json=req_data)


if __name__ == '__main__':
    print(IhrmLoginApi.login_api({"mobile": "13800000002", "password": "123456"}).json())

